<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="common/form :: head"></head>
	<body class="mainbody">
		<form method="POST" th:object="${obj}">
			<div th:replace="common/form :: location('字典管理',*{id} gt 0 ?'修改字典条目信息':'新增字典条目')"></div>
			<div id="floatHead" class="content-tab-wrap">
			  <div class="content-tab">
			    <div class="content-tab-ul-wrap">
			      <ul>
			        <li><a href="javascript:;">字典条目信息</a></li>
			      </ul>
			    </div>
			  </div>
			</div>
			<div class="tab-content">
				<dl>
					<dt>类型</dt>
				    <dd>
				      <input type="text" th:field="*{type}" class="input normal" data-type="*2-20" />
				      <span class="Validform_checktip">*类型至少2个字符</span>
				    </dd>
				</dl>
				<dl th:if="*{id} == 0">
					<dt>数值</dt>
				    <dd>
				      <input type="text" th:field="*{value}" class="input normal" data-type="*" />
				      <span class="Validform_checktip">*数值为数据库实际记录的值</span>
				    </dd>
				</dl>
				<dl>
					<dt>标签</dt>
				    <dd>
				      <input type="text" th:field="*{label}" class="input normal" data-type="*" />
				      <span class="Validform_checktip">*标签为选择框实际显示文本</span>
				    </dd>
				</dl>
				<dl>
					<dt>排序</dt>
				    <dd>
				      <input type="text" th:field="*{sort}" class="input normal" data-type="n" />
				      <span class="Validform_checktip">*按照此字段升序排列</span>
				    </dd>
				</dl>
				<dl>
					<dt>备注信息</dt>
					<dd>
						<textarea class="input normal" maxlength="50" rows="5" th:field="*{description}"></textarea>
						<span class="Validform_checktip"></span>
					</dd>
				</dl>
			</div>
			<div th:replace="common/form :: footer"></div>
		</form>
		<script type="text/javascript" th:replace="common/form :: formscript"></script>
	</body>
</html>